.ui-dialog .ui-widget-header {
    background: url(img/dark-wave.png) repeat-x center center;
    border: none;
    font-family: 'Syncopate', serif;
    font-weight: bold;
    font-variant: small-caps;
    font-size: 1.15em;
    letter-spacing: 1px;
}

.ui-dialog .ui-button-text-only .ui-button-text {
    padding: .2em .5em;
    font-size: .9em;
    color: #215416;
}

.ui-dialog-content {
    height: auto !important;
}

.ui-dialog .ui-dialog-buttonpane {
    margin: 0 5px 0 0;
    padding: 0 1em 0 .4em;
}

.ui-dialog .file-browser {
    font-family: Verdana, sans-serif;
    font-size: 11px;
    line-height: 18px;
    padding: 0 5px 0 1px;
    margin: 0;
    position: static;
}

.file-browser .browser {
    display: table;
}

.file-browser .directories {
    display: table-cell;
    background: #EEEEEE;
    height: 250px;
    min-width: 175px;
    padding: 5px 25px 5px 5px;
    border-right: 1px solid #DDD;
    overflow-y: auto;
}

.file-browser .directories li {
    list-style: none;
    padding: 0px;
    padding-left: 20px;
    margin: 0px;
    white-space: nowrap;
}

.file-browser .directories a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 0px 2px;
}

.file-browser .directories li.active > a {
    background: #FEFFFD;
    margin-right: -20px;
    padding-right: 20px;
    border-radius: 5px;
}

.file-browser .directories a:hover {
    background: #BDDDFF;
}

.file-browser li {
    background-position: left top;
    background-repeat: no-repeat;
}

.file-browser .directory.collapsed ul {
    display: none;
}

/* Core Styles */
.file-browser li.directory { background-image: url(images/directory.png); }
.file-browser li.expanded { background-image: url(images/folder_open.png); }
.file-browser .file { background-image: url(images/file.png); }
.file-browser .wait { background-image: url(images/spinner.gif); }
/* File Extensions*/
.file-browser li.ext_3gp, .file-browser tr.ext_3gp .name{ background-image: url(images/film.png); }
.file-browser li.ext_afp, .file-browser tr.ext_afp .name{ background-image: url(images/code.png); }
.file-browser li.ext_afpa, .file-browser tr.ext_afpa .name{ background-image: url(images/code.png); }
.file-browser li.ext_asp, .file-browser tr.ext_asp .name{ background-image: url(images/code.png); }
.file-browser li.ext_aspx, .file-browser tr.ext_aspx .name{ background-image: url(images/code.png); }
.file-browser li.ext_avi, .file-browser tr.ext_avi .name{ background-image: url(images/film.png); }
.file-browser li.ext_bat, .file-browser tr.ext_bat .name{ background-image: url(images/application.png); }
.file-browser li.ext_bmp, .file-browser tr.ext_bmp .name{ background-image: url(images/picture.png); }
.file-browser li.ext_c, .file-browser tr.ext_c .name{ background-image: url(images/code.png); }
.file-browser li.ext_cfm, .file-browser tr.ext_cfm .name{ background-image: url(images/code.png); }
.file-browser li.ext_cgi, .file-browser tr.ext_cgi .name{ background-image: url(images/code.png); }
.file-browser li.ext_com, .file-browser tr.ext_com .name{ background-image: url(images/application.png); }
.file-browser li.ext_cpp, .file-browser tr.ext_cpp .name{ background-image: url(images/code.png); }
.file-browser li.ext_css, .file-browser tr.ext_css .name{ background-image: url(images/css.png); }
.file-browser li.ext_doc, .file-browser tr.ext_doc .name{ background-image: url(images/doc.png); }
.file-browser li.ext_exe, .file-browser tr.ext_exe .name{ background-image: url(images/application.png); }
.file-browser li.ext_gif, .file-browser tr.ext_gif .name{ background-image: url(images/picture.png); }
.file-browser li.ext_fla, .file-browser tr.ext_fla .name{ background-image: url(images/flash.png); }
.file-browser li.ext_h, .file-browser tr.ext_h .name{ background-image: url(images/code.png); }
.file-browser li.ext_htm, .file-browser tr.ext_htm .name{ background-image: url(images/html.png); }
.file-browser li.ext_html, .file-browser tr.ext_html .name{ background-image: url(images/html.png); }
.file-browser li.ext_jar, .file-browser tr.ext_jar .name{ background-image: url(images/java.png); }
.file-browser li.ext_jpg, .file-browser tr.ext_jpg .name{ background-image: url(images/picture.png); }
.file-browser li.ext_jpeg, .file-browser tr.ext_jpeg .name{ background-image: url(images/picture.png); }
.file-browser li.ext_js, .file-browser tr.ext_js .name{ background-image: url(images/script.png); }
.file-browser li.ext_lasso, .file-browser tr.ext_lasso .name{ background-image: url(images/code.png); }
.file-browser li.ext_log, .file-browser tr.ext_log .name{ background-image: url(images/txt.png); }
.file-browser li.ext_m4p, .file-browser tr.ext_m4p .name{ background-image: url(images/music.png); }
.file-browser li.ext_mov, .file-browser tr.ext_mov .name{ background-image: url(images/film.png); }
.file-browser li.ext_mp3, .file-browser tr.ext_mp3 .name{ background-image: url(images/music.png); }
.file-browser li.ext_mp4, .file-browser tr.ext_mp4 .name{ background-image: url(images/film.png); }
.file-browser li.ext_mpg, .file-browser tr.ext_mpg .name{ background-image: url(images/film.png); }
.file-browser li.ext_mpeg, .file-browser tr.ext_mpeg .name{ background-image: url(images/film.png); }
.file-browser li.ext_ogg, .file-browser tr.ext_ogg .name{ background-image: url(images/music.png); }
.file-browser li.ext_pcx, .file-browser tr.ext_pcx .name{ background-image: url(images/picture.png); }
.file-browser li.ext_pdf, .file-browser tr.ext_pdf .name{ background-image: url(images/pdf.png); }
.file-browser li.ext_php, .file-browser tr.ext_php .name{ background-image: url(images/php.png); }
.file-browser li.ext_png, .file-browser tr.ext_png .name{ background-image: url(images/picture.png); }
.file-browser li.ext_ppt, .file-browser tr.ext_ppt .name{ background-image: url(images/ppt.png); }
.file-browser li.ext_psd, .file-browser tr.ext_psd .name{ background-image: url(images/psd.png); }
.file-browser li.ext_pl, .file-browser tr.ext_pl .name{ background-image: url(images/script.png); }
.file-browser li.ext_py, .file-browser tr.ext_py .name{ background-image: url(images/script.png); }
.file-browser li.ext_rb, .file-browser tr.ext_rb .name{ background-image: url(images/ruby.png); }
.file-browser li.ext_rbx, .file-browser tr.ext_rbx .name{ background-image: url(images/ruby.png); }
.file-browser li.ext_rhtml, .file-browser tr.ext_rhtml .name{ background-image: url(images/ruby.png); }
.file-browser li.ext_rpm, .file-browser tr.ext_rpm .name{ background-image: url(images/linux.png); }
.file-browser li.ext_ruby, .file-browser tr.ext_ruby .name{ background-image: url(images/ruby.png); }
.file-browser li.ext_sql, .file-browser tr.ext_sql .name{ background-image: url(images/db.png); }
.file-browser li.ext_swf, .file-browser tr.ext_swf .name{ background-image: url(images/flash.png); }
.file-browser li.ext_tif, .file-browser tr.ext_tif .name{ background-image: url(images/picture.png); }
.file-browser li.ext_tiff, .file-browser tr.ext_tiff .name{ background-image: url(images/picture.png); }
.file-browser li.ext_txt, .file-browser tr.ext_txt .name{ background-image: url(images/txt.png); }
.file-browser li.ext_vb, .file-browser tr.ext_vb .name{ background-image: url(images/code.png); }
.file-browser li.ext_wav, .file-browser tr.ext_wav .name{ background-image: url(images/music.png); }
.file-browser li.ext_wmv, .file-browser tr.ext_wmv .name{ background-image: url(images/film.png); }
.file-browser li.ext_xls, .file-browser tr.ext_xls .name{ background-image: url(images/xls.png); }
.file-browser li.ext_xml, .file-browser tr.ext_xml .name{ background-image: url(images/code.png); }
.file-browser li.ext_zip, .file-browser tr.ext_zip .name{ background-image: url(images/zip.png); }

.directory-header {
    font-size: 1.35em;
    padding: 0 0 .5em;
    text-align: center;
    display: none;
}

.directory-contents {
    display: table-cell;
    width: 100%;
    background: #FEFFFD;
    border-right: 1px solid #DDDDDD;
}

.contents-detail-listing {
    border-collapse: collapse;
    width: 100%;
    display: block;
}

.contents-detail-listing .path {
    display: none; 
}

.contents-detail-listing td, .contents-detail-listing th {
    padding: 3px 10px 3px;
}

.contents-detail-listing thead {
    border-bottom: 1px solid #DDD;
}

.contents-detail-listing thead .date {
    padding-right: 4em;
}

.contents-detail-listing tbody {
    display: block;
    max-height: 240px;
    overflow-y: auto;
}

.contents-detail-listing thead th {
    text-align: left;
    font-weight: bold;
}

.contents-detail-listing tbody tr {
    cursor: pointer;
}

.contents-detail-listing tbody tr:nth-child(odd) td {
    background-color: #FEFFFD;
}

.contents-detail-listing tbody tr:nth-child(even) td {
    background-color: #F3F4F0;
}

.contents-detail-listing tbody tr.selected td {
    background-color: #BABABA;
}

.contents-detail-listing tbody tr:hover td {
    background-color: #BDDDFF;
}

.contents-detail-listing a {
    display: block;
}

.contents-detail-listing tr .name {
    width: 100%;
}


.contents-detail-listing tr .date {
    width: 12em;
    white-space: nowrap;
}

.contents-detail-listing tbody tr .name {
    background-position: 5px 3px;
    background-repeat: no-repeat;
    padding: 3px 2px 3px 25px;
}

.file-browser .selected-path {
    position: absolute;
    bottom: 12px;
    left: 2em;
}

.file-browser .selected-path input {
    width: 25em;
    border: 1px solid #DDDDDD;
    margin: 0 0 0 .5em;
}
